package main

import (
	"gitee.com/wanjimao/dongli-kit/fxmain"
	"gitee.com/wanjimao/dongli-kit/orm/pkg/ofx"
	"gitee.com/wanjimao/dongli-kit/pkg/mongopkg"
	"gitee.com/wanjimao/dongli-kit/pkg/mysqlpkg"
	"gitee.com/wanjimao/dongli-kit/pkg/setting"
	"gitee.com/wanjimao/dongli-platform/cmd/auth/environmentvariable"

	"gitee.com/wanjimao/dongli-platform/services/auth/pkg/module"
)

func main() {
	environmentvariable.SetEnvironmentVariables()
	fxmain.Main(
		ofx.RedisCacheModule,
		module.AuthModule,
		setting.Module,  //todo config 配置
		mysqlpkg.Module, //todo 接入mongo服务
		mongopkg.Module, //todo 接入mongo服务
	)
}
